#ifndef __VIDEO_H__
#define __VIDEO_H__

#ifdef __cplusplus
extern "C" {
#endif

// Initialize the video device
int  dev_VideoInit(void);

void dev_VideoDestroy(void);

// Present current frame to hardware device
void dev_VideoPresent(void);

// Set left-top offset of video
void dev_VideoSetOffset(int x, int y);

extern char*	Frame_pBits;	// pointer to work buffer
extern long		Frame_stride;	// stride of work buffer (in bytes)
extern int		Frame_width;	// width of work buffer (in pixels)
extern int		Frame_height;	// height of work buffer (not important)

#ifdef __cplusplus
}
#endif

#endif	// __VIDEO_H__
